# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wgetpaste
pkgver=2.33
pkgrel=1
pkgdesc="Command-line interface to various pastebins"
url="http://wgetpaste.zlin.dk/"
arch="noarch"
license="MIT"
depends="wget bash"
options="!check" # no tests
subpackages="$pkgname-zsh-completion"
source="$pkgname-$pkgver.tar.gz::https://github.com/zlin/wgetpaste/archive/$pkgver.tar.gz"

package() {
	install -Dm755 wgetpaste "$pkgdir"/usr/bin/wgetpaste
	install -Dm644 _wgetpaste "$pkgdir"/usr/share/zsh/site-functions/_wgetpaste
}

sha512sums="
b4f3a792877097f4f7e096a605a515041c398eb25b54a432eabe259097589e0926e68b6477fe9d65cb46caef368f4b6076c712f123c1a62101d2c11282278ebf  wgetpaste-2.33.tar.gz
"
